/**
 * Created by Administrator on 2016/10/28.
 */
(function () {
    'use strict';

    angular.module('BlurAdmin.pages.user')
        .factory('UserService', UserService);

    function UserService($http) {
        return {
            fetchAllUsers:function () {
                return $http({method: 'GET', url: 'http://localhost:8080/user/list'});
            }
        }
    }

})();
